﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TRINHTUNGLAM.OOP.EX4
{
    public partial class VIEWS : Form
    {
        public VIEWS()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            CONTROLLERS obj = new CONTROLLERS();
            ENTITY objEntity = new ENTITY();
            objEntity.tuoi = int.Parse(txttuoi.Text);
            txtkq.Text ="" + obj.ketquaControllers(objEntity,(short) cbbhn.SelectedIndex, (int)cbbgt.SelectedIndex);
        }
    }
}
